﻿@helper Script(dynamic tempData){
    <div class="container">
        <div id="notifier" class="row span8"></div>
    </div>
    
    if (tempData["message"] != null) {
        <script type="text/javascript">
            notifier.success('@tempData["message"]');
        </script>
    }else if (tempData["alert"] != null) {
        <script type="text/javascript">
            notifier.error('@tempData["alert"]');
        </script>
    }else if (tempData["notice"] != null) {
        <script type="text/javascript">
            notifier.warn('@tempData["notice"]');
        </script>
    }
}